Minimizing Finite Automata with Graph ProgramsWork of the second and third author was done while visiting the University of York. Funding by the Department of Computer Science at York is gratefully acknowledged
نویسندگان
چکیده
GP (for Graph Programs) is a rule-based, nondeterministic programming language for solving graph problems at a high level of abstraction, freeing programmers from dealing with low-level data structures. In this case study, we present a graph program which minimizes finite automata. The program represents an automaton by its transition diagram, computes the state equivalence relation, and merges equivalent states such that the resulting automaton is minimal and equivalent to the input automaton. We illustrate how the program works by a running example and argue that it correctly implements the minimization algorithm of Hopcroft, Motwani and Ullman. We also prove a quadratic upper bound for the number of rule schema applications used by the program.
منابع مشابه
A Time-Space Tradeo for Undirected Graph Traversal by Walking Automata
We prove a time-space tradeo for traversing undirected graphs, using a structured model that is a nonjumping variant of Cook and Racko 's \Jumping Automata for Graphs". This material is based upon work supported in part by the Natural Sciences and Engineering Research Council of Canada, by the National Science Foundation under Grants CCR-8703196, CCR-8858799, CCR-8907960, and CCR9002891, and by...
متن کاملType Analysis and Data Structure Selection∗
Schwartz et al. described an optimization to implement built-in abstract types such as sets and maps with efficient data structures. Their transformation rests on the discovery of finite universal sets, called bases, to be used for avoiding data replication and for creating aggregate data structures that implement associative access by simpler cursor or pointer access. The SETL implementation u...
متن کاملTime-Space Tradeo s for Undirected Graph Traversal by Graph Automata
We investigate time-space tradeo s for traversing undirected graphs, using a variety of structured models that are all variants of Cook and Racko 's \Jumping Automata for Graphs". Our strongest tradeo is a quadratic lower bound on the product of time and space for graph traversal. For example, achieving linear time requires linear space, implying that depthrst search is optimal. Since our bound...
متن کاملCaress Working Paper # 00-03 Endogenous Lobbying *
In this paper we endogenize the number and characteristics of lobbies in a citizen-candidate model of representative democracy where citizens can lobby an elected policy-maker. We find that lobbying always matters. That is, lobbying always affects equilibrium policy outcomes. Moreover, only one policy outcome emerges in equilibrium. An “extremist” candidate is elected and implements a “centrist...
متن کاملBacterial diversity impacts as a result of combined sewer overflow in a polluted waterway
Newtown Creek is an industrial waterway and former tidal wetland in New York City. It is one of the most polluted water bodies in the United States and was designated as a superfund site in 2010. For over a century, organic compounds, heavy metals, and other forms of industrial pollution have disrupted the creek’s environment. The creek is also impacted by discharges from twenty combined sewer ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2011